package biz.ezcom.design.pattern.template_method;

/**
 * 考试类
 */
public abstract class Test {
    
	/**
	 * 定义考试做题的顺序
	 */
    public void doTest(){
    	question1();
    	question2();
    	question3();
    }
    
    //具体的考试题由子类实现
    protected abstract void question1();

    protected abstract void question2();
    
    protected abstract void question3();

}
